﻿Imports BusinessRule.DTO

Public Interface uMESCheckMainIBusiness
    Function GetContainerCurrentInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetQualityRecordInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetProductNoInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetWorkRecord(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetNeedCheckInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetNeedWorkingReportInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetSpecLastCheckInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetProductLastCheckInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetWorkReportDetail(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetSynergicSpecFactInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function RunRoutineCheck(ByVal oRoutineCheckDTO As uMESRoutineCheckDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function RunSpecLastCheck(ByVal oRoutineCheckDTO As uMESSpecLastCheckDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function RunMoveIn(ByVal oRoutineCheckDTO As uMESSpecLastCheckDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function RunMoveStd(ByVal oRoutineCheckDTO As uMESSpecLastCheckDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function GetContainerCurrentInfoNew(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

#Region "获取历史报工记录"
    Function GetReportHistory(ByVal QueryCondition As Dictionary(Of String, String)) As DataTable
#End Region

#Region "获取成品检验信息"
    Function GetFinishCheckContainerInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult
#End Region

#Region "判断sequence是否最大"
    Function IsLastSequence(ByVal ContainerName As String) As Boolean
#End Region

#Region "得到批次数量"
    Function GetContianerNumber(ByVal QueryCondition As Dictionary(Of String, String)) As Integer
#End Region
#Region "报工是否已检验"
    Function WorkingReportIsCheck(ByVal Workreportid As String) As Boolean
#End Region


#Region "批次当前工序是否已派工"
    Function ContainerCurrentSpecIsDispatch(ByVal containername As String) As Boolean
#End Region
End Interface
